.margin-bottom {
  margin-bottom: 27px;
}

.user-title-box:first-child {
  margin-top: 0;
}

// 标题
.user-title-box {
  font-weight: 500;
  font-size: 16px !important;
  color: #000000;
  position: relative;
  margin: 5px 0 15px;
  margin-left: 10px;

  &::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(0, -50%);
    width: 4px;
    height: 12px;
    background: #3b75ff;
    border-radius: 3px;
  }

  span {
    text-decoration-line: underline;
    font-weight: 400;
    font-size: 16px;
    color: #ff4e43;
    margin-left: 20px;
    cursor: default;
    transition: all 0.2s;

    &:hover {
      opacity: 0.6;
    }
  }
}

// 内容
.content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: #fff;
  padding: 20px 10px 20px 20px;
  border-radius: 8px;

  .scroll-view-box {
    width: 100%;
    height: 100%;
    padding-right: 10px;
    overflow-y: auto;
    box-sizing: border-box;

    ::v-deep .el-form {
      margin-bottom: -22px;

      .el-form-item {
        margin-right: 123px;
      }

      .el-form-item__label {
        padding-left: 0px;
        padding-bottom: 10px;
        line-height: 1;
      }
    }

    .input-width {
      width: 330px;
    }

    .solid-box {
      width: 100%;
      height: 1px;
      border-bottom: 1px dashed #dde2ee;
      margin-bottom: 22px;
    }

    .avater-box {
      width: 330px;
      height: 40px;
      overflow: hidden;

      .avatar {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      ::v-deep .el-upload--picture-card {
        width: 40px;
        height: 40px;
        line-height: 40px;

        i {
          font-size: 15px;
        }
      }

      ::v-deep .el-upload-list--picture-card .el-upload-list__item {
        width: 40px;
        height: 40px;
        overflow: hidden;
      }
    }

    .file-list-box {
      width: 330px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;

      .file-click-btn {}

      .avatar-uploader {
        overflow: hidden;
        width: 40px;
        height: 40px;
        margin: 0 8px 8px 0;

        ::v-deep .el-upload {
          border: 1px dashed #d9d9d9;
          border-radius: 6px;
          cursor: pointer;
          position: relative;
          overflow: hidden;
          width: 40px;
          height: 40px;
          line-height: 40px;
          text-align: center;

          &:hover {
            border-color: #409eff;
          }

          .avatar-uploader-icon {
            font-size: 14px;
            color: #8c939d;
          }
        }
      }

      .file-item-box {
        width: 40px;
        height: 40px;
        margin: 0 8px 8px 0;
        position: relative;
        border-radius: 6px;
        border: 1px dashed #d9d9d9;

        .img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 6px;
        }

        .txt-box {
          position: absolute;
          bottom: 0;
          left: 0;
          z-index: 1;
          width: 100%;
          height: 24px;
          font-weight: 400;
          font-size: 14px;
          color: #ffffff;
          background-color: rgba(0, 0, 0, 0.5);
          padding: 0 2px;
          text-align: center;
          line-height: 24px;
          box-sizing: border-box;
        }

        .el-icon-caret-right {
          position: absolute;
          top: 45%;
          left: 50%;
          transform: translate(-50%, -50%);
          z-index: 9;
          color: #fff;
          font-size: 30px;
          background-color: rgba(0, 0, 0, 0.4);
          border-radius: 50%;
        }

        .el-icon-delete-box {
          position: absolute;
          top: -5px;
          right: -5px;
          width: 14px;
          height: 14px;
          border-radius: 8px;
          background-color: #ffffff;
          z-index: 1;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #797979;
          transition: 0.3s;

          &:hover {
            color: #000;
          }

          i {
            font-size: 14px;
          }
        }
      }
    }
  }
}

::v-deep .el-textarea {
  textarea {
    height: 40px;
    padding: 8px 15px;
    font-size: 14px;
  }
}

.dialog-footer {
  display: block;
  padding-top: 40px;
  width: 100%;
}

// input禁用样式去除
// ::v-deep .is-disabled {
//   .el-input__inner {
//     // background-color: initial;
//     color: inherit;
//     border-color: #dcdfe6;
//     color: #606266;
//   }
// }


// 文件预览

.file-box-img-box {
  width: 100%;
  flex-wrap: wrap;
  margin: -10px 0;

  .file-box-img {
    width: 26px;
    height: 26px;
    margin: 5px 10px 5px 0px;
    box-sizing: border-box;

    .img {
      width: 26px;
      height: 26px;

      .click-color {
        font-weight: 400;
        font-size: 17px;
        color: #3b75ff;
        text-decoration: underline;
        transition: all 0.2s;
        cursor: pointer;

        &:hover {
          opacity: 0.8;
        }
      }
    }
  }
}